package com.wxapp.sale.api.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wxapp.common.constant.base.IBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author: lgl
 * @Description 订单详细信息封装类
 * @Datetime 2022-06-02 09:29:33
 * @Modified By
 */
@Data
@Schema(description = "订单详细信息")
@TableName("wxapp_order_detail")
public class OrderDetailDO extends IBaseEntity implements Serializable {
    /**
     * 商品id
     */
    private String  goodsId;
    /**
     * 购买数量
     */
    private Integer buyNum;
    /**
     * 优惠券id
     */
    private String couponId;
    /**
     * 订单code
     */
    private String orderCode;
    /**
     * 商品价格
     */
    private BigDecimal goodsPrice;
    /**
     * 备注
     */
    private String remark;
}